import request from "../utils/request";

const prefix="/universal-service/dict"

export function listTypes(id,code){
    return request({
        url: prefix.concat("/list/",id),
        method: 'get',
        params:{
            code:code
        }
    })
}
export function listTypeList(param){
    return request({
        url: prefix.concat("/list"),
        method: 'get',
        params:param
    })
}
export function listLeaf(id,code){
    return request({
        url: prefix.concat("/listLeaf"),
        method: 'get',
        params:{
            id:id,
            code:code
        }
    })
}
